package com.hdsx.springboot.config;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/**
 * @author 占贤银
 * time 2024/5/22 0:06
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class FileWebConfig extends WebMvcConfigurationSupport {

    @Override
    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry
                .addResourceHandler("")
                .addResourceLocations("");
        super.addResourceHandlers(registry);
    }
}
